function initPrint(target:any){
    console.log("initPrint")
    target.prototype.print = function(){
        console.log("initPrint");
    }
}

@initPrint
class TestA{

}

var t  = new TestA();